home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 24 (1991-10)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip / MegaDisc 24 (1991-10)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf / PROGRAMS_B / AutoCLI_doc / AutoCLI_doc
Text File  |  1991-09-26  |  31KB  |  654 lines

  1.  
  2.  
  3.             AutoCLI V1.99n 17th Sep 1991 by Nic Wilson
  4.             ------------------------------------------
  5.  
  6.                 Nic Wilson Software
  7.                 138d South Street
  8.                 TOOWOOMBA Queensland 4350
  9.                 Australia
  10.  
  11.         Phone   (076) 358539  Home, Voice & Fax
  12.                 (076) 358384  Work or Fax
  13.                 (076) 358522   "   "   "
  14.         EMAIL   {cbmvax|cbmehq}!cbmaus!wilson!nic@uunet.uu.net
  15.  
  16.  
  17.  
  18.     Ed: This is a terrific program for anyone who wants to make his Amiga
  19.     zoom! This version goes way beyond the version that was in a previous
  20.     Megadisc, so do yourself a favour and read this doc!
  21.  
  22.  
  23.     ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ##
  24.  
  25.  
  26.  
  27.         AutoCLI is SHAREWARE.  I have not disabled it in any way as
  28.         some programmers do.  This is so you can get full benefit
  29.         immediately.  If you use it then please send a small donation
  30.         and help me to bring more programs to the Amiga.  Suggested
  31.         donation is $20.00 Australian.
  32.  
  33.         This program is now fully tested an all Amiga models including
  34.         the A3000.  Fully testing is also done with 'enforcer' a debugging
  35.         program that uses the MMU to look for and display invisible bugs.
  36.         I have found this program absolutely brilliant.
  37.         MMU stands for Memory Management Unit and is found as a separate
  38.         chip on 68020s and labeled 68851 and is internal to a 68030.
  39.         Enforcer comes as one of the tools under V2.0 Developers disks,
  40.         and is also available in Fish Disk #474.
  41.  
  42. HISTORY (Changes, Bug fixes, Enhancements (Newest first))
  43. ---------------------------------------------------------
  44. V1.99n  Made a change to the -q3 mouse acceleration speed to allow
  45.         increasing acceleration linear to the amount the mouse is moved.
  46.         See -q switch for more info.
  47.  
  48. V1.99m  Fixed two major bugs that crept in to the last version.  Mouse
  49.         Acceleration was really crook and not accelerating in some
  50.         directions.  This is now fixed, and secondly if the warning window
  51.         came up, it didn't matter whether you answered yes or no you got
  52.         yes! This is now fixed.
  53.  
  54. V1.99l  Changed the screen blanking routine to include pretty spline
  55.         patterning with various options especially for Ken Simpson.
  56.         See 'OPTIONAL SECONDS', -lc[n], and -lfb for info on its usage.
  57.  
  58.         Fixed a bug in the options window, in that if the screen
  59.         blanking time was changed, but 'RETURN' was not pressed within
  60.         the string gadget, then the time did not change.
  61.  
  62.         Added an update function.  Very simple to use, just launch
  63.         AutoCLI again with a new set of parameters and it will be
  64.         updated to reflect these switches.  Note that all parameters
  65.         you want will be needed, as it currently completely updates.
  66.         In the next version I plan to change this to update what you
  67.         specify without altering other parameters.
  68.  
  69. V1.99k  You asked for it!! and here it is, more function key scripts
  70.         Added another 10 function key scripts.  See the -f option
  71.         for the information on how to add these extra keys.
  72.  
  73.         Fixed a bug in the -n switch change added in V1.99i.  If
  74.         the extra switch was used (-n1) it would mess up the rest
  75.         of the switches.  This is now fixed.
  76.  
  77.         Added a new function to the -n switch.  A certain user without
  78.         mentioning any names (John Rowe), wanted to use the left/right
  79.         button click to screen shuffle but did not want the front screen
  80.         activated.  This is now possible with -n2.
  81.  
  82. V1.99j  Shell windows launched with Left Qualifier/ESC will now have
  83.         a close gadget on them if you are running V2.0 Workbench and
  84.         are using the default command string (IE. no command given).
  85.         See (OPTIONAL COMMAND) for more details.  For users that
  86.         are using a custom newshell string, can also get this new
  87.         feature adding the option to end of the string as shown.
  88.          EG. NEWSHELL CON:0/0/640/200/MyShell/CLOSE
  89.  
  90.         If Screen shuffle was turned off via option window, mouse
  91.         screen shuffle would still work.  This is now fixed
  92.  
  93.         Improved user friendliness of Warning Window.
  94.  
  95. V1.99i  Added ability to choose if you want the new mouse screen
  96.         shuffle added in V1.99g.  See the -n switch.
  97.  
  98. V1.99h  Added the DoIO vector to the restart vector check that was
  99.         added in 1.99c as this vector is often modified by viruses.
  100.  
  101. V1.99g  Fixed a slight bug that crept in.  The options window could
  102.         open on the wrong screen if a custom screen was at the front.
  103.  
  104.         Due to popular demand, added ability to use screen shuffle from
  105.         the mouse.  If screen shuffle is enabled (-n) holding down the
  106.         left mouse button and clicking the right button will shuffle
  107.         the screens in the same way the qualifier and up/down cursor
  108.         keys do.
  109.  
  110. V1.99f  Change to the screen blanking routine, this has been re-written
  111.         in a much better way.  It is now fully compatible with all
  112.         resolution modes including all of the new V2.0 ones.  The older
  113.         routine had problems especially with interlace screens.  It
  114.         should now work fine in all modes.
  115.  
  116. V1.99e  Fix for shell windows under some versions of 1.3 kickstart.
  117.         On some version the program would open CLI windows instead
  118.         of shell if used in default mode.  This happened due to the
  119.         NEWCON search failing.  This is now fixed
  120.  
  121. V1.99d  Code optimisations managed to shrink code by over 1100 bytes.
  122.  
  123. V1.99c  Added a permanent function, that constantly checks the restart
  124.         vectors that are normally modified by viruses.  See WARNING
  125.         WINDOW.  Great for trapping File Viruses as they launch.
  126.  
  127. V1.99b  fix for possible bug in window shuffle, although I couldn't
  128.         make it fail myself, but I found a possible cause.
  129.  
  130. V1.99a  Fix for mouse blanking under V1.3 kickstart, since we switched
  131.         to using V2.0 include files in our assembler.  A label in the
  132.         CopInit structure had changed, giving the wrong offset for the
  133.         1.3 kickstart
  134.  
  135. V1.99   Added a new function by modifiying the -w slightly.  This new
  136.         function is window to front simply by moving the mouse into
  137.         that window.  This was done simply as a challenge given by
  138.         John E. Van der Brook, Cheyenne. WY United States of America.
  139.  
  140. V1.98   After V1.97 screen now activates when brought back to front.
  141.         NOTE: Dpaint for some reason will not re-activate, I do not
  142.         know why, anyone know the answer??
  143.  
  144. V1.97   Options window now pops Workbench to front and opens the
  145.         window on it.  The front screen will be replaced when the
  146.         options window closes.  This stops the problem on custom
  147.         screens bitmaps being destroyed or wierd size screens.
  148.         Sorry to all the NTSC users, I didn't realise that the
  149.         options window was opening 3 pixels over the 200 boundary.
  150.         This is now fixed and option window will open on NTSC screens.
  151.  
  152. 1.96    Fixed an intermittent enforcer hit, sometimes when searching the
  153.         layers.  Fixed the mouse blanking quirk of kickstart 1.3 when
  154.         auto activate was on.
  155.         Addition of mouse button swap function for left handed people.
  156.  
  157. 1.95    Modifications and fixes due to enforcer hits.
  158.  
  159. V1.94   By fine tuning my macros, I knocked 700 bytes off the filesize.
  160.  
  161. V1.93   Re-write of the auto activation function (1.90) to correct problems.
  162.  
  163. V1.92   Added ability to change the AutoCLI task priority.
  164.  
  165. V1.91   New function added to mouse accelleration.  It now has a choice
  166.         of three different speeds.
  167.  
  168. V1.90   Addition of new Auto activation option (-k).  If a key is pressed
  169.         the window that the mouse is currently in, will be activated.
  170.  
  171. V1.88   Addition of new Lock Pointer option (-l or -lr).  This function
  172.         allows you to freeze either vertical, horizontal or both mouse
  173.         movements.  This is great for icon aligning or better control in
  174.         paint programs.  How many times have you carefully placed the mouse
  175.         and had it move slightly when the button was clicked.
  176.  
  177. V1.85   Addition of options window that allows, changes to your options
  178.         without having to remove and relaunch.  See main docs below for
  179.         instructions on its use.
  180.  
  181. KNOWN BUGS OR CONFLICTS
  182. -----------------------
  183. 1. Problems have been encountered with non standard versions of the
  184.    'RUN' command.  This command is called by dos.library's 'execute'
  185.    command.  If you have problems with the Amiga crashing when a CLI
  186.    is popped up then make sure the 'run' command is standard.  The one
  187.    I use came from an original 1.3.2 workbench and has a filesize of
  188.    2568 bytes.  It is also recommended that ARP Library commands are
  189.    not used, as they have found to be source of many problems.
  190.  
  191. SUGGESTIONS
  192. -----------
  193. If AutoCLI does not have your favourite function, or you can think
  194. of any improvements, then write and tell me.  The very best suggestions
  195. get a FREE copy of my commercial NoVirus program.
  196.  
  197. This program has been placed on the Public Domain for your enjoyment.
  198. Permission is hereby given to distribute this program in any
  199. way you see fit, as long as this doc file accompanies it.
  200. Please send any bug reports or ideas to the address at the bottom
  201. of this file. Commercial companies may also distribute the program.
  202.  
  203. I not only write commercial programs, but as you see we write
  204. non-commercial too.  If you like this program and you use it,
  205. then help me by sending a donation to the address below.
  206.  
  207. NIC'S PROGRAM SUMMARY
  208. ---------------------
  209. This program was written because of problems with the similar program I
  210. had been using called 'popcli'.  Popcli crashes if used under
  211. WorkBench/KickStart 2.0, and if used on a PAL Amiga to open a CLI
  212. window with a vertical size greater than 200 lines, it will not open if
  213. your Amiga decides to start in NTSC mode.  Popcli also seems to waste
  214. CPU time when waiting and doesn't allow you to remove it from memory
  215. without crashing or a reboot. AutoCLI overcomes all of the above problems
  216. and has many added features equivalent to other programs around, but
  217. uses much less CPU time. The biggest problem with all the others is that
  218. they lose the Current directory, stack and path.  AutoCLI retains all these
  219. including the Current directory when the program was launched, it will
  220. place you in this directory every time you open a CLI or Shell.
  221.  
  222. AutoCLI was written in 100% Assembler using Devpac Amiga V2.14.
  223.  
  224.  
  225. FEATURES
  226. --------
  227.         * Kickstart / Workbench 1.2, 1.3, 2.0 compatible
  228.  
  229.         * Compatible with A500, A1000, A2000, A2500, A3000
  230.  
  231.         * New Anti-Virus Event handler monitors your memory
  232.  
  233.         * Default or custom CLI / Shell windows
  234.  
  235.         * Default windows open to 1 pixel less than current screen
  236.  
  237.         * Automatically checks and warns of restart vector changes
  238.  
  239.         * 20 Function key scripts option
  240.  
  241.         * Update completely once running
  242.  
  243.         * Options window allows modification while running
  244.  
  245.         * Active window to front or point to front options
  246.  
  247.         * Screen & window shuffle option
  248.  
  249.         * Screen blanking after time period option with spline patterning
  250.  
  251.         * Mouse blanking on key press or time option
  252.  
  253.         * Mouse acceleration and button swap options
  254.  
  255.         * Auto Window activation on a key press and mouse position option.
  256.  
  257.         * Function to swap mouse buttons for left handed users
  258.  
  259.         * Selectable task priority
  260.  
  261.         * No CPU time wastage
  262.  
  263.         * 100% machine code
  264.  
  265.         * Freely distributable
  266.  
  267.  
  268. PROGRAM USAGE FOR INSTALLING AutoCLI
  269. ------------------------------------
  270. AutoCLI [<optional switches>] [<optional seconds>] [<optional command>]
  271.  
  272. DO NOT USE RUN or RUNBACK as it will return the command
  273. line and allow the window it was launched from to close, when an
  274. ENDCLI command is given. Yet it still retains the directory it
  275. was launched from and does not lose the current path or stack as
  276. some programs do.  This means that when a CLI is popped up it will
  277. default to the directory that was current, when AutoCLI was launched.
  278. The path and stack that was set, will still be valid.
  279.  
  280. The program is mainly designed to be used in your startup-sequence
  281. so you will always have a CLI or Shell window available very easily.
  282. AutoCLI MUST reside in your C: directory.
  283.  
  284. UPDATING AutoCLI ONCE ALREADY RUNNING
  285. -------------------------------------
  286. Some changes can be made via the options window, or you can launch
  287. again from the CLI and supply a whole new set of parameters and it
  288. will completely update itself.
  289.  
  290. OPTIONAL SWITCHES
  291. -----------------
  292.     The following switches do not have to be given in any particular order,
  293.     but must all be before the optional seconds and command parameters.
  294.     All options default to OFF and must be enabled with a switch.
  295.  
  296.     Any of these options can be modified after launch, by using the
  297.     Option Window provided. (see OPTIONS WINDOW below)
  298.  
  299. -f<r>[n]    This switch enables function key trapping.  When your qualifier
  300.             (see below) is held down and a function key pressed, the
  301.             program will execute a script file in the assigned S:
  302.             directory with a filename of autocli.f1 to autocli.f10.
  303.             This file must be a normal script (eg. startup-sequence).
  304.  
  305.             The extra two switches <r> and [n] are for enabling an extra
  306.             10 keys giving a total of 20 function key scripts.  The optional
  307.             'r' parameter forces the qualifier for these 10 to be the
  308.             right hand key of 'n'. The 'n' parameter tells AutoCLI which
  309.             key you want as the qualifier for these extra 10 function key
  310.             scripts.  The choices are as shown below in the example.
  311.             Filenames for these extra 10 must be:- autocli.e1 to autocli.e10
  312.             These files as above must be in the assigned S: directory and
  313.             be a normal script files.
  314.  
  315.     EXAMPLES
  316.  
  317.     -frd  Gives extra 10 and the qualifier is Right Amiga (SUGGESTED DEFAULT)
  318.     -fra  Gives extra 10 and the qualifier is Right Alt
  319.     -frs  Gives extra 10 and the qualifier is Right Shift
  320.     -fc   Gives extra 10 and the qualifier is Control
  321.     -fd   Gives extra 10 and the qualifier is Left  Amiga
  322.     -fa   Gives extra 10 and the qualifier is Left  Alt
  323.     -fs   Gives extra 10 and the qualifier is Left  Shift
  324.     -f    Gives only the first 10  (autocli.f1 - autocli.f10)
  325.  
  326.             Please note that the extra qualifier MUST be different to the
  327.             normal qualifier key that you have chosen.  If you select the
  328.             same then the AutoCLI will not work and display an error window.
  329.  
  330.     *************************************************************
  331.  
  332.     FILENAMES FOR FIRST 10 SCRIPTS:-  autocli.f1  to  autocli.f10
  333.     FILENAMES FOR EXTRA 10 SCRIPTS:-  autocli.e1  to  autocli.e10
  334.  
  335.     *************************************************************
  336.  
  337.  
  338.         WINDOW TO FRONT
  339.         ---------------
  340.  
  341. -w[n]       This switch enables the window to front option.  The optional
  342.             parameter (n) selects the action required to bring it to the
  343.             front.  0 = use keyboard, 1 = use mouse.  To use keyboard (0)
  344.             select the window you want at the front by clicking the left
  345.             mouse inside the window and then hold your qualifier key
  346.             (see below) and press the Left ALT key.
  347.             To use mouse (1) simply place the mouse in the window you
  348.             want at the front and the window will immediately appear at
  349.             the front.  Both can be temporary disabled via the option
  350.             window.
  351.             EG. for keyboard :-  -w0   or  -w
  352.                 for mouse    :-  -w1
  353.  
  354.  
  355.         SCREEN SHUFFLE
  356.         --------------
  357.  
  358. -n[n]       This switch enables the screen shuffle option.  Two optional
  359.             parameters for 'n' are 1 or 2.  1 enables or disables the mouse
  360.             activated part of the screen shuffling.  If you want the mouse
  361.             activation then you can either leave this parameter off (eg. -n)
  362.             or use (-n0).  If you want to disable this feature in case of
  363.             conflictions with other programs such as DirectoryOpus then
  364.             use -n1.  The second option is 2 which enables the mouse
  365.             activated part as -n does, but stops the front screen being
  366.             activated.
  367.  
  368.             EG. for keyboard, mouse & screen activation    -n  or -n0
  369.                 for keyboard only & screen activation      -n1
  370.                 for keyboard, mouse & no screen activation -n2
  371.  
  372.             To use this function, hold down your qualifier key and use the
  373.             cursor up or down keys to rotate all screens in opposite
  374.             directions.
  375.             If you prefer you can hold down the left mouse button and
  376.             click the right button to shuffle the screens (if enabled).
  377.  
  378.             Screen shuffle is different to the standard LEFT AMIGA N & M.
  379.             These standard keys only swap between the front and rear most
  380.             screens.
  381.  
  382.         WINDOW SHUFFLE
  383.         --------------
  384.  
  385. -m          This switch enables the window shuffle option.  To use this
  386.             function, hold down your qualifier key and use the cursor
  387.             left or right keys.  This will move the front most window to
  388.             the back or the back most window to the front respectively.
  389.             The window shuffle always occurs on the screen that is at
  390.             the front.  This allows you to easily move between windows
  391.             and screens by using the qualifier and all the cursor keys
  392.  
  393.         MOUSE ACCELERATION
  394.         ------------------
  395.  
  396. -q[n]        This switch enables mouse acceleration (-q).  The optional
  397.              parameter (n) is a speed from 1 to 3.  Speed 1 will multiply
  398.              all mouse movements by a factor of 2.  Speed 2 will multiply
  399.              by a factor of 4, and speed 3 is a special case, it will
  400.              multiply by the amount the mouse actually moved, this mode
  401.              was preferred by a lot of users because it will give a small
  402.              acceleration if the mouse is moved a short distance, increasing
  403.              more and more the further and faster you move the mouse.
  404.              This function works in conjunction with mouse speed under
  405.              preferences, so this can also be changed to find the best
  406.              possible combination that you like.
  407.              If this second paramter is not given then it will default to
  408.              speed 1.
  409.              EG. For speed 2 the switch should be -q2
  410.                  For default speed it should be   -q
  411.                  For automatic speed increase     -q3
  412.  
  413.         TASK PRIORITY   (NOT RECOMMENED TO BE CHANGED)
  414.         -------------   ------------------------------
  415.  
  416. -p[n]        This switch allows you to change the priority of AutoCLI.
  417.              Without this switch it will default to 21.  Valid values
  418.              for (n) are 0 - 21, bad values will cause the default value
  419.              to be used.
  420.              EG. For a priority of 0  the switch should be -p0
  421.                  For a priority of 20 the switch should be -p20
  422.              NOTE
  423.              If the priority is changed from 21, some functions may not
  424.              work correctly. Use with caution.
  425.  
  426.         AUTO WINDOW ACTIVATION
  427.         ----------------------
  428.  
  429. -k          This switch enables auto window activation.  If enabled this
  430.             function will activate any window the mouse is currently in,
  431.             when a key is pressed.  It will still work even if another
  432.             screen is at the front, and you have dragged it down and placed
  433.             the mouse over a window on the screen behind.
  434.  
  435.         MOUSE MOVEMENT LOCKING
  436.         ----------------------
  437.  
  438. -l or -lr   This switch allows the mouse movements to be frozen in vertical,
  439.             horizontal or both directions.  If the CONTROL key is depressed
  440.             the horizontal movements are frozen.  If the LEFT ALT key is
  441.             pressed then the vertical movements are frozen.  If both are
  442.             depressed then all movements are frozen.  When either of these
  443.             keys are released then movements continue in that direction.
  444.             If these keys conflict with your chosen qualifier key (see
  445.             -s -c -a) then use the -lr switch instead, your keys with
  446.             then change to RIGHT SHIFT for horizontal and RIGHT ALT for
  447.             vertical.
  448.  
  449.         MOUSE BLANKING
  450.         --------------
  451.  
  452. -b          This switch enables mouse blanking.  When any key is pressed
  453.             the mouse pointer will be immediately blanked, or if no mouse
  454.             movement is detected within 30 seconds the mouse pointer will
  455.             be blanked.  As soon as the mouse is moved at all the pointer
  456.             will be returned immediately.  This overcomes the annoying
  457.             habit of the pointer always being in the way while typing.
  458.  
  459.         LEFTY MOUSE
  460.         -----------
  461.  
  462. -e          This switch physically exchanges the left and right hand buttons
  463.             on the mouse.  All programs that use the mouse correctly will
  464.             work.  If the mouse is checked by hardware then the swap will
  465.             not occur.  This switch is not available from the option window
  466.             as yet, maybe next version.
  467.  
  468.         QUALIFIER KEY
  469.         -------------
  470.  
  471. -s  -c  -a  The default qualifier key is the LEFT AMIGA but this can be
  472.             changed with a switch.  The -s switch changes the qualifier
  473.             key to the SHIFT key.  The -c switch changes it to the CONTROL
  474.             key, and the -a switch changes it to the ALT key.  To use the
  475.             default key (LEFT AMIGA) then don't use any of these three
  476.             switches.  Note that this qualifier key is also the same for
  477.             the autocli function as well.
  478.  
  479. -r          The above qualifier is, by default, the key on the LEFT side
  480.             of the keyboard.  To change this to the RIGHT side, use thi
  481.             switch.
  482.  
  483.         SCREEN BLANKING SECONDS AND SPLINE PATTERNING OPTIONS
  484.         -----------------------------------------------------
  485.  
  486.     OPTIONAL SECONDS
  487.     ----------------
  488.             This is an optional time (in seconds) to blank the screen
  489.             when no user input is detected. The default is off, so if
  490.             blanking is not wanted then do not give a time at all.  When
  491.             the screen has been blanked, it can be turned on again by
  492.             touching any key or moving the mouse. This number must be
  493.             after ALL of the switches including those below that are
  494.             used in conjunction with this. It has been left this way
  495.             to remain compatible with older versions.
  496.  
  497. -lc[n]      This switch is used in conjunction with screen blanking,
  498.             See 'OPTIONAL SECONDS' and -lf below.  This switch changes
  499.             the number of lines the spline patterning routine draws.
  500.             The 'n' parameter can have a value between 2 - 100 or 0.  If
  501.             this switch is not given then a default value of 65 will be
  502.             used.  If you do not want spline patterning, and prefer a
  503.             blank black screen when blanked the use 0 as the parameter
  504.             (EG. -lc0).  To change the speed of the splines see the
  505.             -lf parameter.  If a number too large is given for 'n' then
  506.             it will default to 100, similarly if a number too small is
  507.             given then it will default to 2.
  508.  
  509. -lfb        This double switch is used in conjunction with screen blanking.
  510.             The switch has two parts the 'f' part and 'b' part.  You may
  511.             use one or both of them.
  512.             If the 'f' part is given then the spline patterning will go
  513.             as fast as it will run on your Amiga.  If the 'f' part is
  514.             not given it will be timed to go about the same speed on all
  515.             Amiga's and will be slower.
  516.             If the 'b' part is given then the blanking screen will be
  517.             2 bitplanes instead of 1.  2 bitplanes allows more colours
  518.             to be displayed on the spline screen at once.  In 2 bitplane
  519.             mode the routine will use around 120K of chip memory, so
  520.             only select this mode if you have that amount free.
  521.             1 bitplane mode only allows a single colour to be used at
  522.             one time to draw the splines (although it will cycle to
  523.             different colours).  This requires only half the amount
  524.             of chip memory and should work alright on all Amiga's, unless
  525.             your chip memory usage is very large.
  526.             If you have chosen 2 bitplanes and screen blanking doesn't
  527.             seem to work try removing the 'b' and try again.
  528.  
  529.       Example:  -lf  - speed up splines and use 2 colours (1 + background)
  530.                 -lb  - slower splines and use 4 colours   (3 + background)
  531.                 -lfb - speed up splines and use 4 colours (3 + background)
  532.  
  533.         USAGE DISPLAY
  534.         -------------
  535.  
  536. ?           If the only switch is a single question mark, then AutoCLI
  537.             will display a USAGE string on the current CLI window.
  538.             It will not install or remove itself.
  539.  
  540.         REMOVING AutoCLI from the CLI
  541.         -----------------------------
  542.  
  543. remove      This switch should be used on its own.  It will signal
  544.             the current version of AutoCLI to shut down and remove
  545.             itself.  Whenever it attempts this removal, a success
  546.             or failure message will be displayed on the CLI window.
  547.             To remove from Workbench, see OPTIONS WINDOW.
  548.  
  549. WARNING WINDOW
  550. --------------
  551. The event handler constantly checks the restart vectors against values
  552. that were there when AutoCLI was first launched.  These vectors are often
  553. modified by viruses in order to survive a reboot.  If this happens during
  554. normal operation, (ie. file virus gets launched) then AutoCLI will open a
  555. small warning window and ask you if you wish to replace them with their
  556. original values or leave them.   For example mounting RAD: will change
  557. these vectors the first time is it accessed. You would answer NO to the
  558. question, AutoCLI will then accept these changes as OK.
  559.  
  560. OPTIONS WINDOW
  561. --------------
  562. This function is always available, even if function key scripts (-f)
  563. is turned off.  It is accessed by holding the qualifier key and pressing
  564. HELP.  A window will open on the front most screen  with gadgets set with
  565. your current options.
  566. Click on the gadgets to turn functions on or off.  Screen blanking time
  567. can be changed by clicking in the gadget and changing it accordingly.
  568. If you turn screen blanking on, but give no time, then a default time
  569. of 300 seconds will be set.
  570. At the bottom of the window are two gadgets, 'OK' and 'REMOVE'.  The
  571. remove gadget will remove AutoCLI from memory completely.  The ok gadget
  572. will set the new options you have made.
  573.  
  574. OPTIONAL COMMAND (command run when 'Qualifer ESC' is pressed)
  575. ----------------
  576. If no optional command is given then AutoCLI will use a default command.
  577. This default command is, AutoCLI will launch and wait for your qualifier
  578. key and ESCAPE to be pressed.  When this event occurs AutoCLI will open
  579. a CLI window 1 pixel less than the size of the WorkBench Screen at the
  580. time it is opened.  So if resolution mode is changed AutoCLI will notice
  581. the change.  If NEWCON: is available, a Shell window will open instead
  582. of a CLI window and if running under V2.0 of Workbench, the window will
  583. have a close gadget.
  584.  
  585. If an optional command is given, AutoCLI will execute that command
  586. in preference to the default CLI/SHELL window when your qualifier key
  587. and ESCAPE is pressed (see EXAMPLES).  This allows custom commands or
  588. custom size CLI/Shell windows to be used.  Note that if AutoCLI is already
  589. in memory it will update itself to to reflect all parmeters given.
  590.  
  591.  
  592. EXAMPLES
  593. --------
  594.      AutoCLI -frd -w -n -b -q2 -m -k -l -lfb -lc50 600
  595.      (opens a Shell window with automatic full size minus 1 pixel.
  596.      Enables 20 function keys with RIGHT AMIGA as the qualifier for the
  597.      second 10.  Selects the LEFT AMIGA as your qualifier.  Enables the
  598.      window to front option.  Enables the screen shuffle option.  Enables
  599.      the window shuffle option.  Enables pointer lock.  Enables auto window
  600.      activation. Enables mouse blanking.  Enables mouse acceleration at
  601.      the second rate.  Enables screen blanking after 10 mins of non use,
  602.      with 50 spline patterning lines, using 4 colours in fast mode.
  603.  
  604.      AutoCLI -f -w0 -n -m -k -l -r -s 600 newshell newcon:0/10/640/150/MyShell
  605.      (opens a Shell window with a title of 'MyShell', enables function
  606.      keys, selects the RIGHT SHIFT as your qualifier, enables the window
  607.      to front option ,enables the screen shuffle option, enables the
  608.      window shuffle, enables pointer lock, enables auto activation,
  609.      and will blank the screen after 10 mins of non use).
  610.  
  611.      AutoCLI -f -w0 -q2 YourProg
  612.      (runs a file called YourProg.  When LEFT AMIGA/ESCAPE is pressed
  613.      enables function keys, window to front and will disable the screen
  614.      blanking (ie. no time given), and will accellerate the mouse by
  615.      a factor of 4.
  616.  
  617.      AutoCLI remove
  618.      (attempts to remove the currently running version from memory
  619.      and displays a success or failure message).
  620.  
  621. REQUIREMENTS
  622. ------------
  623. The following commands MUST be available in the current C: directory :-
  624.  
  625. run             ; c directory (called by the DOS Execute function)
  626. newcli          ; c directory (called by AutoCLI if NEWCON not available)
  627. newshell        ; c directory (called by AutoCLI if NEWCON is available)
  628. shell-seg       ; l directory (needed if NEWCON: is mounted)
  629. AutoCLI         ; c directory or current directory when launched.
  630.  
  631. The following commands, devices, files are optional :-
  632.  
  633. cli-startup     ; s directory (script executed by Newcli)
  634. shell-startup   ; s directory (script executed by NewShell)
  635. NEWCON:         ; (must be mounted to enable Shell instead of CLI)
  636. AutoCLI.f1      ; s directory (script file for qualifier/F1)
  637. AutoCLI.f2      ; s directory (script file for qualifier/F2)
  638. ...etc.
  639. AutoCLI.e1      ; s directory (script file for 2nd qualifier/F1)
  640. AutoCLI.e2      ; s directory (script file for 2nd qualifier/F2)
  641. ...etc.
  642.  
  643. NOTE: 'Amiga' is a Trademark of Commodore Amiga Inc.
  644. The idea for Pointer Lock came from a program 'Tame Pointer' by JOHN ROWE,
  645. a very close and talented friend of mine who has written some wonderful
  646. programs for the Amiga in Lattice C.
  647.  
  648.  
  649.  
  650.     ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ##
  651.  
  652.  
  653.  
  654.